package com.norbitltd.guavaleaves.java.lang.annotation;

import java.lang.annotation.Annotation;

import com.google.common.base.Function;

public class AnnotationFunctions {
	public static Function<Annotation, Class<? extends Annotation>> getAnnotationType() {
		return new Function<Annotation, Class<? extends Annotation>>() {
			public Class<? extends Annotation> apply(Annotation input) {
				return input.annotationType();
			}
		};
	}
}
